package com.linkin.homepage.ui.adapter;

import android.view.View;
import android.widget.TextView;

import com.linkin.homepage.R;
import com.linkin.homepage.base.recycleview.BaseRCViewHolder;
import com.linkin.homepage.base.viewmapping.ViewMapping;

/**
 * @Author: 刘忠俊
 * @ClassName: NewsViewHolder1
 * @CreateDate: 2021/8/10
 * @email:zhongjun.liu@ximalaya.com
 * @org:Copyright (C) 2021 小雅星空
 * @Description: TODO
 */
@ViewMapping(R.layout.layout_class_item)
class NewsViewHolder1 extends BaseRCViewHolder {

    public TextView titleText;

    public NewsViewHolder1(View itemView) {
        super(itemView);
        titleText = itemView.findViewById(R.id.tv_class_name);
    }

    public void setTitle(String title) {
        titleText.setText(title);
    }

}
